using QxFramework.Core;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class DieUI : UIBase
{
    public override int UILayer => 5;

    private void Awake()
    {
        transform.Find("Button").GetComponent<Button>().onClick.AddListener(Retry);
    }

    public void Retry()
    {
        SceneManager.LoadScene("Main", LoadSceneMode.Single);
        //StageInfo.Instance.RefreshLevel(true);
        //DoClose();
    }
}
